package com.suse.ecommerce.pojo;

import java.io.Serializable;
import java.util.Date;

public class Store implements Serializable {
    private Long storeId;

    private String storeNick;

    private String legalPerson;

    private String password;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Store(Long storeId, String storeNick, String legalPerson, String password, Date createTime) {
        this.storeId = storeId;
        this.storeNick = storeNick;
        this.legalPerson = legalPerson;
        this.password = password;
        this.createTime = createTime;
    }

    public Store() {
        super();
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getStoreNick() {
        return storeNick;
    }

    public void setStoreNick(String storeNick) {
        this.storeNick = storeNick == null ? null : storeNick.trim();
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson == null ? null : legalPerson.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}